public class demo2 {
    //整型变量
    public static void main(String[] args) {
        byte a = 10;
        short b = 20;
        int c = 100;
        long d = 150L;
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
        System.out.println(d);
        System.out.println();

        a = 11;
        b = 21;
        c = 101;
        d = 151L;
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
        System.out.println(d);
    }
}
